package design.patterns.factorymode.service;

import org.springframework.stereotype.Service;
import design.patterns.factorymode.api.CarFactoryInterface;

/**
 * @Description 实现了制造汽车的接口，用来生产Benz汽车.
 * @author: wwchen
 * @DateTime: 2018-07-01 19:44
 */
@Service
public class Benz implements CarFactoryInterface{

    /**
     * 生产Benz汽车
     */
    @Override
    public void manufacture() {
        System.out.println("===========生产了一辆Benz汽车===========");
    }
}
